Package-level declarations
Functions
Link copied to clipboard
fun SmallToggle(isToggled: Boolean, onToggleChange: (Boolean) -> Unit?, modifier: Modifier = Modifier, actionText: String = "", isEnabled: Boolean = true, isReadOnly: Boolean = false, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
A toggle is used to quickly switch between two possible states. They are commonly used for “on/off” switches.
Link copied to clipboard
fun Toggle(isToggled: Boolean, onToggleChange: (Boolean) -> Unit?, modifier: Modifier = Modifier, label: String = "", actionText: String = "", isEnabled: Boolean = true, isReadOnly: Boolean = false, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
A toggle is used to quickly switch between two possible states. They are commonly used for “on/off” switches.